package com.fishery.customization.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.List;

@Document(value = "c_fixed_label")
@ApiModel(value = "固定类型标签对象")
public class FixedLabel {

	@Id
	@ApiModelProperty(value = "id(0、基础标签，1、养殖标签，2、冷库标签，3、加工厂标签)")
	private String id;

	@ApiModelProperty(value = "标签集名")
	private String name;

	@ApiModelProperty(value = "一级标签标签集合")
	private List<OneLevelLabel> labels;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public List<OneLevelLabel> getLabels() {
		return labels;
	}

	public void setLabels(List<OneLevelLabel> labels) {
		this.labels = labels;
	}
}
